home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / cad / lasi512b.zip / PLOTTERS.LHI < prev    next >
Text File  |  1996-04-04  |  33KB  |  685 lines

  1. ≡≡
  2.  
  3. Printer Plotting (PRNPLOT)
  4.  
  5.  Introduction
  6.  
  7.                          PRNPLOT Plotting Utility
  8.                        ----------------------------
  9.  
  10.   PRNPLOT.EXE is a program that can produce high quality bitmap plots in
  11.   three of the most common formats:
  12.  
  13.     PCL (laser and H-P DeskJet type printers)
  14.  
  15.     ESC/P (LQ type dot matrix and inkjet printers)
  16.  
  17.     PCX (Paintbrush or word processors)
  18.  
  19.   Laser and Hewlett-Packard DeskJet printers use H-P's PCL language
  20.   (Printer Control Language). PRNPLOT can convert LASI drawings directly
  21.   into PCL, either as a file, or as a direct drive for a printer from one
  22.   of a personal computer's parallel ports. PRNPLOT can make both B&W and
  23.   color prints in PCL.
  24.  
  25.   Dot matrix and just about every other inkjet printer that is not from
  26.   Hewlett-Packard use Epson's ESC/P (Epson Standard Code) or the enhanced
  27.   ESC/P2 language. The PRNPLOT can convert LASI drawings directly into
  28.   ESC/P, either as a file, or as a direct drive for a printer from one of a
  29.   personal computer's parallel ports. PRNPLOT can make B&W and color prints
  30.   in ESC/P. PRNPLOT supports 360dpi resolution and can also compress the
  31.   print data into RLE (Run Length Encoded) format.
  32.  
  33.   PRNPLOT can produce high quality plots in the common PCX format
  34.   (originated by ZSoft Corp). PCX is commonly used by many programs that
  35.   deal with bitmapped images, including the version of Paintbrush that
  36.   comes with Windows. PCX format can be used by most word processors to
  37.   insert pictures into written text. It is also a format that is commonly
  38.   translated into fax formats. Presently PCX is only generated in B&W.
  39.  
  40.   This version of PRNPLOT.EXE works with LASI 5.1 drawings that use 32-bit
  41.   data. It will also use extended memory for drawings containing a large
  42.   number of objects, and can be called by the LASI's System Mode PLOT
  43.   command without being limited by conventional memory.
  44.  
  45.   PRNPLOT reads BP5 and CL5 internal files directly from the drawing
  46.   directory. You must be logged into the drawing directory of the cell to
  47.   be plotted.
  48.  
  49.   PRNPLOT remembers what you did last. It keeps the name of the last cell
  50.   plotted and the name of the last configuration file in the PRNPLOT.SET
  51.   file. When PRNPLOT starts it comes up with the previous parameters, at
  52.   that point you can change anything, and the program will try to be
  53.   "smart" and readjust other parameters.
  54.  
  55.   PRNPLOT keeps the setup Page 1 parameters in the PRNPLOT.SET file. The
  56.   parameters in setup Page 2 are placed in the Configure File.
  57.  
  58.   Important: It is not guaranteed that future versions of any plotting
  59.     programs will have the same SET file or configure file format. If you
  60.     see obvious errors in the setup values, just erase the old SET or
  61.     configure file, run the program again, and modify the default values.
  62.  
  63.  Running PRNPLOT
  64.  
  65.   There are 3 ways to run PRNPLOT:
  66.  
  67.   1. Run by typing "prnplot". This reads in previous parameters including
  68.      the cell's name and the configuration file.
  69.  
  70.   2. Run by typing "prnplot cellname", where "cellname" is the cell that
  71.      you want to plot. The plot will be fitted to the full size of the
  72.      cell.
  73.  
  74.   3. Run by typing "prnplot cellname x-center y-center width layers", where
  75.      "x-center" and "y-center" are the coordinates of where you want the
  76.      plot to be centered, and "width" is the horizontal width of the plot
  77.      window (all in physical units). "Layers" is the text string used to
  78.      tell PRNPLOT which layers to draw. It is the same as the LASI drawing
  79.      program uses to set the VIEW layers when the Layer Table is not used.
  80.      (Read the VIEW command in the main LASI help text for the notation.)
  81.  
  82.      This is how LASI passes the drawing window and the layers to be
  83.      plotted when the PLOT button is pushed in the LASI System Mode menu.
  84.  
  85.      The LASI drawing program generates this text string even if the Layer
  86.      Table is being used. If this string is typed on the DOS command line
  87.      and it contains spaces, it must be enclosed in double quotes.
  88.  
  89.  Page 1 - Plot Control
  90.  
  91.   When you start PRNPLOT it comes up in Page 1, the Plot Control page.
  92.   Before you plot you must set parameters on pages 1 and 2. On Page 1 set
  93.   the following:
  94.  
  95.   ■ Name of the Cell to be plotted.
  96.  
  97.   ■ Configure File Name. The program will start with generic defaults for
  98.     the parameters. To keep your own parameters, you should first enter a
  99.     file name. This can be any file name such as "PLOT1.PCF".
  100.  
  101.     If the configuration file is new, the present parameters become the
  102.     parameters of the new file. If the file was previously written, the
  103.     file parameters replace the present parameters. The configuration file
  104.     is only written when you plot or if you exit the program.
  105.  
  106.   ■ Plot File Name or Printer. The plot file name can be any DOS file name,
  107.     but should have the extension such as ".PCL" to indicate the type of
  108.     file. To print directly to a printer, enter "LPT1, LPT2, LPT3 or PRN".
  109.     Entering LPT1 sends data to parallel port 1, etc. "PRN" is equivalent
  110.     to "LPT1", the first printer port.
  111.  
  112.   ■ Plot Windows. These the boundaries of the plotting area and are usually
  113.     calculated, but can be manually changed. These will be adjusted to the
  114.     cell being plotted if ALT-F or "Fit" is pressed.
  115.  
  116.   ■ (Plot) Size. The maximum size (in multiples of the physical size) of
  117.     the plot will be listed in the "Messages" box. This is the size that
  118.     will barely fit on the printed area. You can make the size smaller and
  119.     up to 2 times larger by entering the Plot Size. The Plot Size usually
  120.     will be set to some convenient size smaller than the maximum size,
  121.     because some printers will clip the edges of the printing area.
  122.  
  123.   ■ (Plot) Rotate (PCL,ESC). Set this to "Y" if you want to rotate the
  124.     drawing 90 deg. The plot is normally made in "portrait" orientation. If
  125.     you set this to "Y", plotting will be done in "landscape" orientation.
  126.     To better fit a drawing that is taller than it is wide on a 8.5"x 11"
  127.     sheet of paper, you might want to rotate. Note that the Maximum Scale
  128.     will be different.
  129.  
  130.   ■ (Plot) Rotate (PCX). Set this to "N" if you don't want to rotate the
  131.     drawing. Drawings will normally be made in "portrait" orientation, or
  132.     just as viewed on the screen. Enter "L" or "R" to rotate 90 deg
  133.     counter-clockwise or clockwise respectively. Note that the Maximum
  134.     Scale will be different if rotated.
  135.  
  136.     If you change a cellname or if you rotate and you want to make an
  137.     overall plot, you should do a "Fit" on the cell after you set the
  138.     Rotate switch.
  139.  
  140.   ■ Pause for Messages. If set to "Y", PRNPLOT will pause and wait for a
  141.     key to be pressed if it gives you any messages. If this is set to "N"
  142.     the message will be flashed for about a second, and then the program
  143.     will continue.
  144.  
  145.  Page 2 - Plot Parameters
  146.  
  147.   Press ALT-P or click "Param" to go to Page 2, the Plot Parameters Page,
  148.   and set the following:
  149.  
  150.   ■ Format (PCL,ESC,PCX). This sets the output format. If you change this
  151.     parameter, the page redraws and the other parameters may change.
  152.  
  153.   ■ Layers to Draw. This is the layer numbers using the dash and space
  154.     notation.
  155.  
  156.     Example: "1-10 20" will print layers 1 through 10 and layer 20.
  157.  
  158.   ■ Dots/Inch (PCL). This is 75, 150 or 300 standard laser printer values.
  159.  
  160.   ■ Dots/Inch (ESC). This is 90, 180 or 360. 90 uses 90dpi horizontally,
  161.     180dpi vertically, and changes the fill and dash pattern aspect ratio,
  162.     but is fastest. 180 will use 180dpi both vertically and horizontally.
  163.     360 switches to high resolution raster scan mode, which is slowest but
  164.     has the best resolution. 360dpi should normally be used with newer dot
  165.     matrix and inkjet printers.
  166.  
  167.   Note: For 90dpi and 180dpi PRNPLOT uses the bit image code "ESC*" that
  168.     has been used on most 24-pin dot matrix printers for some time. It uses
  169.     the new "ESC." raster code for 360dpi printing. It is possible that
  170.     some old printers may not use the new "ESC." raster code and not print
  171.     at 360dpi. Check your printer manual if PRNPLOT doesn't print
  172.     correctly.
  173.  
  174.   ■ Dots/Inch (PCX). This can also be set to any integer 60-360. Set this
  175.     to 200 for drawings to be faxed. When you set this to some number you
  176.     will find that the PCX raster changes not only resolution but its
  177.     dimensions when read by a drawing program (Windows's Paintbrush for
  178.     example). PCX files are generally treated as just a bitmap of pixels,
  179.     so using a lower DPI causes a smaller coarser image to be made.
  180.  
  181.   ■ Resolution. Any object smaller than (drawing width)/ (resolution) is
  182.     not drawn. Limiting the resolution lets you make faster plots by
  183.     omitting small details, or prevents the plot from being filled in with
  184.     indistinguishable small details.
  185.  
  186.   ■ Special Units/Inch. If your drawing is not in "um" or "mil" you can set
  187.     the number to use in the drawing. The special units will be used to
  188.     calculate the plot area and scales.
  189.  
  190.   ■ Colors (PCL). This depends on your printer. The present LaserJets use
  191.     one color (black, excluding the expensive color ones). DeskJets can use
  192.     1,3 or 4 colors (color planes). All Deskjets can print in B&W using a
  193.     single black cartridge. If you want B&W only, set this to 1. If want
  194.     color and your printer uses a single color cartridge (HP500C,540,600)
  195.     set this to 3. If your printer has both a B&W and a color cartridge
  196.     (HP550C,560C,660C,850,855C) set this to 4.
  197.  
  198.   ■ Colors (ESC). This depends on your printer. B&W printers use 1 color,
  199.     while color printers use 4 colors (color planes). All color printers
  200.     can print in B&W. If you want B&W only, set this to 1. If want color
  201.     and your printer has a color cartridge set this to 4.
  202.  
  203.   ■ Color Codes (PCL,ESC). This allows you to change the composition of the
  204.     colors that are printed in halftone. You can redefine colors by
  205.     entering one or more code numbers separated by commas. The code number
  206.     is a bit pattern and is determined as follows:
  207.  
  208.     color code#= 256*index+128*y+64*m+32*c+16*b+8*Y+4*M+2*C+1*B
  209.  
  210.     where B,C,M,Y,b,c,m,y are 1 or 0 and represent the primary and
  211.     secondary dots of black, cyan, magenta and yellow, and "index" is the
  212.     usual color index number 0-15, i.e. 0=black,1=blue, ... up to bright
  213.     white=15. LASI orange is defined as color index 5.
  214.  
  215.     This code number is the same as the PCLHCPY.COM or ESCHCPY.COM hardcopy
  216.     programs use.
  217.  
  218.   ■ Page Left in Inches. This is the horizontal distance from the printers
  219.     printing origin to the left boundary of where you want the plot area to
  220.     start on the paper.
  221.  
  222.   ■ Page Top in Inches. This is the vertical distance from the printers
  223.     printing origin to the top boundary of where you want the plot area to
  224.     start on the paper.
  225.  
  226.   ■ Page Right in Inches. This is the horizontal distance from the printers
  227.     printing origin to the right boundary of where you want the plot area
  228.     to end on the paper.
  229.  
  230.   ■ Page Bottom in Inches. This is vertical distance from the printers
  231.     printing origin to the bottom boundary of where you want the plot area
  232.     to end on the paper.
  233.  
  234.   Notes:
  235.  
  236.   1. When setting the above boundaries, values are rounded to the nearest
  237.      1/20 inch.
  238.  
  239.   2. The scaling of the plot will be determined by the page boundaries and
  240.      will be indicated by the Maximum Size on the first setup page.
  241.  
  242.   ■ Dash Spacing in mils. Dashed lines are printed in patterns of 8 dots.
  243.     The spacing values are limited to integral multiples of the pattern
  244.     which depends on the DPI of the printer.
  245.  
  246.   ■ Fill Spacing in mils. This is similar to dash spacing.
  247.  
  248.     PRNPLOT takes its colors and dash and fill patterns from LASI itself
  249.     (the CONSTS5.DBD file). There is no need to configure each layer when
  250.     you make plots. What you see in LASI is what you get plotted, except
  251.     that PRNPLOT can change the spacing of patterns to take advantage of
  252.     the better resolution that printers offer.
  253.  
  254.   ■ Ref Grid in Phys Units. PRNPLOT can print a dotted reference grid on
  255.     the plot. If you use the grid, set the spacing to the desired size in
  256.     physical units.
  257.  
  258.   ■ Text Spacing Ratio. This is the space between characters/character
  259.     field size ratio for any text that will be draw. Set this to 0 to 1,
  260.     with 0.2 about right.
  261.  
  262.   ■ Use Halftone Colors (PCL,ESC). PRNPLOT can make halftone colors by
  263.     printing a group of four dots (2x2) of different colors. For example,
  264.     orange is made by printing 2 magenta dots and 4 yellow dots. Using
  265.     halftone effectively reduces the resolution of your print since it
  266.     doubles the dots. Only printing at 150dpi and 300dpi is halftone
  267.     permitted.
  268.  
  269.   ■ Dark Background (PCX). A PCX file is like a photograph; you can make a
  270.     reverse print or negative. The background will usually be white (white
  271.     paper), but for some uses you might want black as the background with
  272.     white lines.
  273.  
  274.   ■ Add Ref Grid. You can turn the reference grid on and off by setting Add
  275.     Reference Grid to "Y" or "N".
  276.  
  277.   ■ Add Path Center Line. If you want to have Path Center Lines drawn,
  278.     answer "Y" that question. Paths will be drawn with a double dashed line
  279.     along their center.
  280.  
  281.   ■ Plot Without Fills. This lets you turn off the fills that might be set
  282.     in the drawing so that you can make quick unobstructed plots without
  283.     going back to the drawing to remove the fills.
  284.  
  285.   ■ Use RLE Comp(ression) (ESC). This turns on the data compressor. For
  286.     most drawings done using LASI, there are a large number of repeated
  287.     pixels. Using this will greatly reduce the amount of data in a file or
  288.     sent to the printer. Your printer may however not support compression.
  289.  
  290.   ■ Plot Layers Descending. Set this to "Y" if you want to plot layers in
  291.     the order 64 to 1. Use this only if you are plotting in color and have
  292.     solid fills (type 13). On a solid fill, PRNPLOT overwrites previous
  293.     layers so that the last solid fill color is finally printed. If
  294.     printing in B&W this switch has no effect.
  295.  
  296.  Making a Plot
  297.  
  298.   When you are ready to plot, press ALT-G or click "Go". The display will
  299.   change to the Plot Area and Status display where you can watch the
  300.   progress of the plotting. When plotting is done or aborted, a message
  301.   will appear and the program will go back to the Plot Control Page. Make
  302.   another plot or exit the program by pressing ALT-Q or clicking "Quit".
  303.  
  304.   As PRNPLOT runs, it divides the plotted drawing area into many small
  305.   bands. The percentage done is indicated.
  306.  
  307.   If a file is being made, the current size of the file will be indicated.
  308.  
  309.   Notes:
  310.  
  311.   1. At 300,360,180 or even 150dpi, particularly in color, you will make
  312.      large files. You should erase these when done to keep from filling up
  313.      your hard disk.
  314.  
  315.   2. If you run PRNPLOT on a networked printer, you may have difficulty
  316.      directly driving the printer. This is because PRNPLOT uses direct
  317.      printer (int17) BIOS calls to transfer characters as quickly as
  318.      possible. Try making a print file instead, and copying the file to the
  319.      printer with the DOS command line: "copy filename printer /b".
  320.  
  321.  Other Uses
  322.  
  323.   PRNPLOT is a precision plotting program, limited only by the precision of
  324.   your printer. In addition to making nice pictures for checking layouts or
  325.   inserting in reports, you can use LASI and this program to make patterns
  326.   for printed circuit boards. At 300dpi, the resolution is about 3.3 mils,
  327.   at 360dpi, the resolution is about 3 mils, good enough for many quick PC
  328.   board applications.
  329.  
  330.   PCX has many uses. Most of these are as a convenient format for other
  331.   drawing systems. Windows Paintbrush can import and export PCX directly,
  332.   and most word processors can read PCX. Most FAX programs will either
  333.   transmit PCX directly or can be easily converted. PRNPLOT is primarily
  334.   intended to produce high quality faxes of LASI drawings for transmission
  335.   to other sites. This is a precision plotting program and should produce
  336.   faxes that are as accurate as the fax machine used to receive the
  337.   picture.
  338.  
  339. HP-GL Plotting (PGLPLOT)
  340.  
  341.  Introduction
  342.  
  343.                          PGLPLOT Plotting Utility
  344.                         --------------------------
  345.  
  346.   LASI drawings can be quite large and complex. It is usually necessary to
  347.   produce large plots to examine the drawings for errors, or maybe just for
  348.   office decoration. The most commonly used plotting language is Hewlett-
  349.   Packard's HP-GL (Hewlett-Packard Graphics Language), which is used by all
  350.   H-P and many other makes of plotters. Using the PGLPLOT.EXE program, LASI
  351.   drawings can be converted directly into HP-GL, either as a file, or as a
  352.   direct drive for a plotter from one of the personal computer's serial
  353.   ports.
  354.  
  355.   This is a new version of PGLPLOT.EXE that works with LASI 5.1 drawings
  356.   that use 32-bit data. It will also use extended memory for drawings
  357.   containing a large number of objects, and can be called by the LASI's
  358.   System Mode PLOT command without being limited by conventional memory.
  359.  
  360.   PGLPLOT reads BP5 and CL5 internal files in the drawing directory. You
  361.   must be logged into the drawing directory of the cell to be plotted.
  362.  
  363.   PGLPLOT remembers what you did last. It keeps the name of the last cell
  364.   plotted and the name of the last configuration file in the PGLPLOT.SET
  365.   file. When PGLPLOT starts it comes up with the previous parameters, at
  366.   that point you can change anything, and the program will try to be
  367.   "smart" and readjust other parameters.
  368.  
  369.   PGLPLOT keeps the setup Page 1 parameters in the PGLPLOT.SET file. The
  370.   parameters in setup Pages 2-5 are placed in the Configure File.
  371.  
  372.   Important: It is not guaranteed that future versions of any plotting
  373.     programs will have the same SET or configure file format. If you see
  374.     obvious errors in the setup values, just erase the old SET or configure
  375.     file, run the program again, and modify the default values.
  376.  
  377.  Running PGLPLOT
  378.  
  379.   There are 3 ways to run PGLPLOT:
  380.  
  381.   1. Run by typing "pglplot". This reads in previous parameters including
  382.      the cell's name and the configuration file.
  383.  
  384.   2. Run by typing "pglplot cellname", where "cellname" is the cell that
  385.      you want to plot. The plot will be fitted to the full size of the
  386.      cell.
  387.  
  388.   3. Run by typing "pglplot cellname x-center y-center width layers", where
  389.      "x-center" and "y-center" are the coordinates of where you want the
  390.      plot to be centered, and "width" is the horizontal width of the plot
  391.      window (all in physical units). "Layers" is the text string used to
  392.      tell PGLPLOT which layers to draw. It is the same as the LASI drawing
  393.      program uses to set the VIEW layers when the Layer Table is not used.
  394.      (Read the VIEW command in the main LASI help text for the notation.)
  395.  
  396.      The LASI drawing program generates this text string even if the Layer
  397.      Table is being used. If this string is typed on the DOS command line
  398.      and it contains spaces, it must be enclosed in double quotes.
  399.  
  400.      This is how LASI passes the drawing window and the layers to be
  401.      plotted when the PLOT button is pushed in the LASI System Mode menu.
  402.  
  403.  Page 1 - Plot Control
  404.  
  405.   When you start PGCLPLOT it comes up in Page 1, the Plot Control page.
  406.   Before you plot you must set parameters on pages 1-5. On Page 1 set the
  407.   following:
  408.  
  409.   ■ Name of the Cell to be plotted.
  410.  
  411.   ■ Name of Configure File Name. The program will start with generic
  412.     defaults for the parameters. To keep your own parameters, you should
  413.     first enter a file name. This can be any filename such as "PGL.PCF".
  414.  
  415.     If the configuration file is new, the present parameters become the
  416.     parameters of the new file. If the file was previously written, the
  417.     file parameters replace the present parameters. The configuration file
  418.     is only written when you plot or if you exit the program.
  419.  
  420.   ■ Name of Plot File to Make. If you are not driving a plotter directly,
  421.     enter the name of the plot file. The plot file name can be any DOS file
  422.     name, but should have the extension ".PGL" to indicate the type of
  423.     file.
  424.  
  425.   ■ Plot Windows. These the boundaries of the plotting area and are usually
  426.     calculated, but can be manually changed. These will be adjusted to the
  427.     cell being plotted if ALT-F is pressed or "Fit" is clicked.
  428.  
  429.   ■ (Plot) Size. The maximum size (in multiples of the physical size) of
  430.     the plot will be listed in the "Messages" box. This is the size that
  431.     will barely fit on the printed area. You can make the size smaller and
  432.     up to 2 times larger by entering the Plot Size. The Plot Size usually
  433.     will be set to some convenient size smaller than the maximum size,
  434.     because some printers will clip the edges of the printing area.
  435.  
  436.   ■ (Plot) Rotate. The rotated maximum size will also be displayed in the
  437.     Messages box. If rotating gives a better fit to your drawing, set this
  438.     to "Y".
  439.  
  440.   Hint: You might want to give a size slightly smaller than the maximum
  441.     size indicated. This may prevent some part of a drawing being cut off
  442.     due to aspect ratio differences between your paper and the area to be
  443.     drawn.
  444.  
  445.  Page 2 - Plot Parameters
  446.  
  447.   Press ALT-P or click "Param" to go to Page 2, the Plot Parameters Page,
  448.   and set the following:
  449.  
  450.   ■ Use Port or Make File. If you want to drive a plotter directly from a
  451.     serial port, set the Plot or File question to "P", else set it to "F".
  452.  
  453.   ■ Layers to Draw. Set the Layers that you want to draw by entering them
  454.     individually separated by spaces, or use the "-" notation. For example,
  455.     "1-5" draws layers from 1 to 5. You should NOT include empty layers,
  456.     otherwise, PGLPLOT will search these layers and will take a long time
  457.     to run.
  458.  
  459.   ■ Text Spacing Ratio. This is the space between characters/character
  460.     field size ratio for any text that will be draw. Set this to 0 to 1,
  461.     with 0.2 about right.
  462.  
  463.   ■ Pen Thickness. This is used when you do a SOLID fill on your plot. This
  464.     sets just how closely a plotter will draw parallel lines to make a
  465.     solid fill.
  466.  
  467.   ■ Use Plotter Poly Mode. If you want to use your plotter's polygon
  468.     commands set this to "Y". The HP-GL commands PM, EP and FP are
  469.     available on the better plotters (see your plotter manual). These
  470.     commands allow you to fill closed polygon areas. If this mode is used,
  471.     paths will be expanded into a closed polygon area.
  472.  
  473.   ■ Draw Path Center Lines. If you want paths to have center lines drawn,
  474.     answer "Y" that question. Paths will be drawn with a dashed line along
  475.     their center.
  476.  
  477.   ■ Fully Draw Outlined Cells and Cell Outline Pen. Any cells that are
  478.     displayed in LASI Cell Mode as an outline can be drawn as an outline,
  479.     or they can expand in full detail. Set this switch to whatever you
  480.     want. Often drawing only an outline make a drawing much easier to read.
  481.     You may set the pen to be used for outlines. The outline will have the
  482.     name of the cell in the lower left corner.
  483.  
  484.   ■ Plot Resolution. This is similar to the drawing resolution you can set
  485.     when using LASI. Any object smaller than (drawing width)/ (resolution)
  486.     is not drawn. This includes path widths. Paths with width less than the
  487.     minimum size will be drawn as lines. Setting the resolution lets you
  488.     make quick plots by preventing small details from being drawn, or
  489.     simply eliminates drawing of tiny details that would be useless.
  490.  
  491.   ■ Special Units. If your drawing is not in "um" or "mil" you can set the
  492.     number of any UNITS PER INCH to use in the drawing. The name of your
  493.     units (read from LASI's CONSTS5.DBD) will be added to the drawing
  494.     window displayed, and the special units will be used to calculate the
  495.     plot area and scales.
  496.  
  497.   ■ Pen Velocity. If you are using a plotter, set this fast enough to
  498.     reduce plotting time, but slow enough to ink properly.
  499.  
  500.   ■ Pause for Messages. If set to "Y", PGLPLOT will pause and wait for a
  501.     key to be pressed if it gives you any messages. If this is set to "N"
  502.     the message will be flashed for about a second, and then the program
  503.     will continue.
  504.  
  505.  Page 3 - Paper Setup
  506.  
  507.   Press ALT-A or click "pAper" to go to Page 3, the Paper Setup Page, and
  508.   set the following:
  509.  
  510.   ■ Plotter Basic Step Unit. The plotter basic step unit may be changed,
  511.     but for HP plotters it is always .00098 inches per step. Consult your
  512.     plotter manual.
  513.  
  514.   ■ Plot Origin. If your plotter has a center or lower-left (bottom-left)
  515.     hardware origin, set the origin question to "C" or "L" . Most small
  516.     plotters have a lower-left origin, while larger plotters use a center
  517.     origin. Read your plotter manual.
  518.  
  519.   ■ Dash and Fill Spacings. If you use dashed lines or fills, set the
  520.     spacing to something that will look good on the finished plot. This
  521.     depends on the size of the plot. For a small "A" size plot, use close
  522.     spacing; on larger plot you can use larger spacing to save plotting
  523.     time and pen ink.
  524.  
  525.   ■ Paper Size. Set this to standard paper sizes "A" to "E", depending on
  526.     just what your plotter can use. Setting this size sets the border
  527.     limits for plotting. When you change the paper size, the plot area
  528.     borders change to the dimensions of that size paper.
  529.  
  530.   ■ Paper Borders. Set the borders that the plotter can't use, i.e. roller
  531.     track, etc. Read your plotter manual for this distance. The size of
  532.     your paper less these borders is the useful size of your paper.
  533.  
  534.   ■ Plot Area Boundaries. Set the location and size of the plotting area on
  535.     the paper by specifying the left, bottom, right and top boundaries. If
  536.     you are clever, you can use this to make multiple drawings on a single
  537.     sheet of paper.
  538.  
  539.   Note: If "Overflow!" appears after a plotting area edge, the value will
  540.     have exceeded +/-32767 plotter units, and will be clipped to that
  541.     value.
  542.  
  543.  Page 4 - Port Setup
  544.  
  545.   Press ALT-O or click "pOrt" to go to Page 4, the Port Setup Page.
  546.  
  547.   To drive a plotter directly, the plotter must be connected to one of the
  548.   computer's serial ports, COM1, COM2, COM3 or COM4.
  549.  
  550.   You only need to set these parameters if you are using PGLPLOT to drive a
  551.   plotter directly:
  552.  
  553.   ■ Baud Rate, etc. Set the baud rate, data bits, stop bits and parity to
  554.     whatever works with your hardware. Since a plotter is usually pretty
  555.     slow, a high baud rate probably isn't needed.
  556.  
  557.   ■ Hardware or Xon/Xoff Handshake Parameters. Set as follows:
  558.  
  559.     If you use the hardware handshake to keep the plotter buffer from being
  560.     overflowed by plotting data, you will be asked if you want to use the
  561.     DSR (data set ready) line or the CTS (clear to send) line to detect
  562.     that the plotter buffer is full. On an AT type of PC these lines are
  563.     pins 6 and 8 respectively on a 9-pin serial port. The Hewlett-Packard
  564.     plotters normally indicate a full buffer by dropping the DTR (pin 20 on
  565.     the 25-pin RS-232 connector) line. This line can be connected to either
  566.     CTS or DSR. To make the port work, you will usually have to turn on the
  567.     other line by connecting it to the RTS (request to send) line from the
  568.     port (pin 7 on a 9-pin and pin 4 on a 25-pin), or to any other line
  569.     that is constantly high.
  570.  
  571.     If you use the Xon/Xoff handshake, some ports will require you to turn
  572.     on the CTS, DSR, or both CTS and DSR lines, otherwise, the port will
  573.     not receive characters. If sending does not pause when the plotter
  574.     buffer is full, indicated by the "Waiting" sign, this might be
  575.     happening. Data will still be sent slowly because the port will timeout
  576.     after a second or so. To fix this, connect CTS and DSR to any line that
  577.     is constantly high.
  578.  
  579.     If you use either hardware or Xon/Xoff handshaking, the plotter needs
  580.     to be sent certain control codes (or instructions). You need to consult
  581.     your plotter manual for their form and what they do. The program
  582.     default codes should work properly for most situations. To write in
  583.     codes simply type the code literally. "ESC" will be translated into
  584.     1B(hex) in the output. You can include more that one code on a line and
  585.     codes can be split over lines.
  586.  
  587.   Note: PGLPLOT sends the "ESC.R" (reset) code automatically whenever it
  588.     starts drawing. It also sends "ESC.K" (abort) if the drawing is
  589.     aborted. You don't need to include these codes.
  590.  
  591.  Page 5 - Layer Setup
  592.  
  593.   Press ALT-L or click "Layer" to go to Page 5, the Layer Setup Page
  594.  
  595.   Each layer has three attributes, Pen, Dash and Fill. You may assign
  596.   attributes randomly. To do so, click the mouse or use the keys to go to
  597.   the Layer box at the bottom of the page. When you set a layer, the
  598.   attributes for that layer are read into the Pen, Dash and Fill boxes. You
  599.   can change any attribute and it will be rewritten in the display.
  600.  
  601.   ■ Assign a pen to a layer. When assigning a pen note that you may enter
  602.     one of 8 different pens. Your plotter might not have that many, so
  603.     assign them accordingly.
  604.  
  605.   ■ Assign a Dash type to a layer. The types are numbered 0-6 which
  606.     correspond to the line types described in the H-P plotter manual that
  607.     usually comes with a plotter. If a line is to be drawn solid, set the
  608.     layer's Dash attribute to "-".
  609.  
  610.   ■ Assign a Fill to be used on a layer. Fills are presently left, right,
  611.     horizontal, vertical crosshatches, solid and nothing (indicated by "L",
  612.     "R", "H", "V", "S" and "-" respectively). Boxes will always be filled,
  613.     but you MUST use the plotter's polygon mode to fill polygon areas.
  614.  
  615.   If a layer has had its Fill set as above, and a line type has also been
  616.   set, the line type is used as the fill line type. The perimeter of a
  617.   filled area is drawn solid and not with the line type set for that layer.
  618.   The spacing of the dashes and fill lines will be calculated from the
  619.   spacing parameters set on Page 3.
  620.  
  621.  Making a Plot
  622.  
  623.   When you are ready to plot, press ALT-G or click "Go". The display will
  624.   change to the Plot Area/Plot Status display where you can watch the
  625.   progress of the plotting. When plotting is done or aborted, a message
  626.   will appear and the program will go back to the Plot Control Page. Make
  627.   another plot or exit the program by pressing ALT-Q or clicking "Quit".
  628.  
  629.   If you are driving a plotter directly, the Status will tell you what is
  630.   happening:
  631.  
  632.   "Idle" means that data is not currently available to be sent.
  633.  
  634.   "Sending" means that data is being sent to the plotter.
  635.  
  636.   "Waiting" means that the plotter buffer is full.
  637.  
  638.   "Holding" means that you pressed SPACE and sending is suspended until the
  639.   space bar is pressed again.
  640.  
  641.  Other Uses
  642.  
  643.   Since the plot file that PGLPLOT makes is in standard HP-GL language. The
  644.   file can be changed to other formats using a converter such as HIJAAK or
  645.   PRINTGL. HP-GL can also be converted directly by WordPerfect 5.1 or 6.0
  646.   into figures that can be inserted into WordPerfect (or other DTP) written
  647.   text. Therefore, drawings made by LASI can be placed directly into
  648.   reports, theses, dissertations, etc. that are written using any of the
  649.   common word processors that can do graphics conversion from HP-GL.
  650.  
  651.   HP-GL can also be converted into LaserJet format to print high quality
  652.   diagrams. HP-GL can be converted into PCX or TIFF formats. From these
  653.   formats, conversion to a fax format is usually possible so that you can
  654.   send high quality fax diagrams using any of the fax/modems on the market.
  655.  
  656. Parameter Line Editor
  657.  
  658.  Parameter Line Editor
  659.  
  660.   All programs now use a simple line editor that resembles the editor used
  661.   with Windows. The editor operates as follows:
  662.  
  663.   ■ To move from parameter to parameter, press the UP/DOWN ARROW keys,
  664.     (SHIFT)TAB, or click the mouse on a parameter.
  665.  
  666.   ■ Press PGUP/PGDN to move to the first or last parameter.
  667.  
  668.   ■ Press LEFT/RIGHT ARROW to move the text cursor left or right.
  669.  
  670.   ■ Press HOME/END to move the cursor to the beginning or end of a line.
  671.  
  672.   ■ Press BACKSPACE to erase a character to the left of the cursor.
  673.  
  674.   ■ Press DELETE to erase the character to the right of the cursor.
  675.  
  676.   ■ Press CTRL-BACKSPACE to completely erase a text line.
  677.  
  678.   ■ When you first select a parameter, typing any printable character other
  679.     than SPACE or LEFT/RIGHT ARROW will replace the whole text line.
  680.  
  681.   ■ Press ENTER to return to the main page.
  682.  
  683.   ■ If you make a mistake press ESC to restore the original text.
  684.  
  685.